home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et3_0-a1.lha / et3 / src / SizeableExp.h < prev    next >
C/C++ Source or Header  |  1992-04-27  |  831b  |  36 lines

  1. #ifndef SizeableExpander_First
  2. #ifdef __GNUG__
  3. //pragma once
  4. #pragma interface
  5. #endif
  6. #define SizeableExpander_First
  7.  
  8. #include "Expander.h"
  9.  
  10. //---- SizeableExpander --------------------------------------------------
  11.  
  12. class SizeableExpander: public Expander {
  13. public:
  14.     MetaDef(SizeableExpander);
  15.  
  16.     SizeableExpander(int id, Direction d, Point g, VObject *vop, ...);
  17.     void Control(int, int, void*);
  18.     void SetExtent(Point e);
  19.     void GetStretchability(int at, Point &min, Point &max);
  20. };
  21.  
  22. //---- SplitArea ----------------------------------------------------------------
  23.  
  24. class SplitArea: public VObject {
  25.     Direction dir;
  26. public:
  27.     SplitArea(int id, Direction d);
  28.     Command *DoLeftButtonDownCommand(Point, Token, int);
  29.     GrCursor GetCursor(Point);
  30.     Metric GetMinSize();
  31.     void Draw(Rectangle r);
  32. };
  33.  
  34. #endif
  35.  
  36.